package com.aoip.telemetry.telemetry.entity.sn;

import com.aoip.telemetry.telemetry.entity.frame.FrameStructureBaseEntity;
import lombok.*;

import java.time.LocalDateTime;

/**
 * @author chenbai
 * @version 1.0
 * @date 2022/2/17 22:59
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SnHydrologyEntity extends FrameStructureBaseEntity {
    private static final long serialVersionUID = -9113928990699461840L;

    /**
     * 帧起始符
     **/
    private String frameStartCharacter;
    /**
     * 遥测站地址
     **/
    private String stCode;

    /**
     * 观察时间
     **/
    private LocalDateTime observationTime;

    /**
     * 正文元素数据信息
     **/
    private String elementData;
    /**
     * 校验码
     **/
    private String crc;
    /**
     * 报文结束符
     **/
    private String messageEndCharacter;
    /**
     * 完整报文信息
     **/
    private String allMsg;
}
